wayland: Add support for gtk_window_set_modal
authorJonas Ådahl <jadahl@gmail.com>
Fri, 6 Mar 2015 03:40:12 +0000 (11:40 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 23 Apr 2015 08:09:15 +0000 (16:09 +0800)
commit3da7394b58b033c181acfb4323d7c100a084884c
tree497db4ad5af44b79afde9226600f4f977130acb3
parent556fde096aed100750cccf66b097863593edf65b
wayland: Add support for gtk_window_set_modal

Add two new requests to the gtk_surface interface: set_modal and
unset_modal. The server will currently not do anything special with
input focus, and its up to the client to ignore events on the parent
surface.

This commit bumps the gtk_shell interface version to 2. By connecting to
a Wayland server with another gtk_shell interface version any features
depending on the gtk_shell protocol will not be available.

https://bugzilla.gnome.org/show_bug.cgi?id=745721
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkwindow-wayland.c
gdk/wayland/protocol/gtk-shell.xml